//
//  ReadInfoView.m
//  WYnewsss
//
//  Created by lanou on 16/4/29.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "ReadInfoView.h"
#import "ReadInfoModel.h"
#import <UIImageView+WebCache.h>
@implementation ReadInfoView
- (void)setDataWithModel:(ReadInfoModel *)model{
    //[_imgsrcImageView sd_setImageWithURL:[NSURL URLWithString:model.imgsrc]];
    [_imgImageView sd_setImageWithURL:[NSURL URLWithString:model.img]];
    _sourceLabel.text=model.source;
    _aliasLabel.text=model.alias;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
